package cn.easy.rest.PageController;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/public")
public class PublicPageController {
    /**
     * 用户登录界面
     * @return
     */
    @RequestMapping("/login")
    public String login(){
        return "login";
    }

    /**
     * 用户注册界面
     * @return
     */
    @RequestMapping("/register")
    public String register(){
        return "register";
    }
}
